//调用接口配置文件
import { request } from 'config/request'

export async function getStatusUpDate(params) {
    return request({
        url: '/admin/advertising/delete',
        method: 'POST',
        data: params
    });
};

//获取省市
export async function queryAllAddress(params) {
    return request({
        url: 'admin/address/queryAdminAddress',
        method: 'GET',
        data: params,
    });
};

export async function getArea(params) {
    return request({
        url: 'admin/qrcode/region/tree/get',
        method: 'GET',
        data: params,
    });
};

export async function refreshOrder(params) {
    return request({
        url: `/admin/advertising/rank/${params}`,
        method: 'GET'
    });
};


export async function updateStatus(params) {
    return request({
        url: `/admin/advertising/updateStatus`,
        method: 'post',
        data: params,
    });
};












